package com.example.springbootdemo.scene.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 *@author xuwangqi
 *@date 2021/5/24 15:58
 **/
/**
    * 会员打卡
    */
@ApiModel(value="com-example-springbootdemo-scene-entity-MemberMark")
@Data
@TableName(value = "member_mark")
public class MemberMark {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private Long id;

    /**
     * 会员id
     */
    @TableField(value = "member_id")
    @ApiModelProperty(value="会员id")
    private Long memberId;

    /**
     * 昵称
     */
    @TableField(value = "nickname")
    @ApiModelProperty(value="昵称")
    private String nickname;

    /**
     * 头像
     */
    @TableField(value = "avatar")
    @ApiModelProperty(value="头像")
    private String avatar;

    /**
     * 景区id
     */
    @TableField(value = "scene_id")
    @ApiModelProperty(value="景区id")
    private String sceneId;

    /**
     * 景区名称
     */
    @TableField(value = "scene_name")
    @ApiModelProperty(value="景区名称")
    private String sceneName;

    /**
     * 景区图片
     */
    @TableField(value = "scene_pic")
    @ApiModelProperty(value="景区图片")
    private String scenePic;

    /**
     * 景点id
     */
    @TableField(value = "spot_id")
    @ApiModelProperty(value="景点id")
    private String spotId;

    /**
     * 景点名称
     */
    @TableField(value = "spot_name")
    @ApiModelProperty(value="景点名称")
    private String spotName;

    /**
     * 景点图片
     */
    @TableField(value = "spot_pic")
    @ApiModelProperty(value="景点图片")
    private String spotPic;

    /**
     * 位置
     */
    @TableField(value = "poi")
    @ApiModelProperty(value="位置")
    private Object poi;

    @TableField(value = "gmt_create")
    @ApiModelProperty(value="")
    private Date gmtCreate;

    @TableField(value = "gmt_modified")
    @ApiModelProperty(value="")
    private Date gmtModified;

    public static final String COL_ID = "id";

    public static final String COL_MEMBER_ID = "member_id";

    public static final String COL_NICKNAME = "nickname";

    public static final String COL_AVATAR = "avatar";

    public static final String COL_SCENE_ID = "scene_id";

    public static final String COL_SCENE_NAME = "scene_name";

    public static final String COL_SCENE_PIC = "scene_pic";

    public static final String COL_SPOT_ID = "spot_id";

    public static final String COL_SPOT_NAME = "spot_name";

    public static final String COL_SPOT_PIC = "spot_pic";

    public static final String COL_POI = "poi";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";
}